package com.ruoyi.common.tip;

/**
 * 返回给前台的成功提示
 *
 * @author fengshuonan
 * @date 2016年11月12日 下午5:05:22
 */
public class SuccessTip extends Tip {
	
	public SuccessTip(){
		super.code = 200;
		super.message = "操作成功";
		super.isOk = true;
	}
	public SuccessTip(String message){
		super.code = 200;
		super.message = message;
		super.isOk = true;
	}
	public SuccessTip(int code, String message){
		super.code = code;
		super.message = message;
		super.isOk = true;
	}
	public SuccessTip(String message, Object data){
		super.code = 200;
		super.message = message;
		super.data =data;
		super.isOk = true;
	}
	public SuccessTip(int Code, String message, Object data){
		super.code = Code;
		super.message = message;
		super.data =data;
		super.isOk = true;
	}

}
